package com.tms.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * 存储有关用户信息(User)表实体类
 *
 * @author makejava
 * @since 2024-12-25 22:43:32
 */
@TableName("user")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    //主键
    private Integer id;
    //学号，无法学生修改，管理员可修改
    private Integer stuId;
    //姓名
    private String name;
    //账号
    private String userName;
    //密码，默认值123456
    private String password;
    //手机号
    private String phone;
    //邮箱
    private String email;
    //头像URL，默认为系统自带
    private String imgUrl;
    //0-学生,1教师,3-管理员 默认值为0
    private Integer level = 0;

}

